package model;

import java.io.Serializable;


public class Tweet implements Serializable{
	public static final String TYPE_NEW = "1";
	public static final String TYPE_REPLY = "2";
	public static final String TYPE_RETWEET = "3";
	public static final String NO_PARENT = "-1";
	
	private String content;
	private String placeId;
	private long latitude;
	private long longitude;
	private User user;
	private String URI;
	private String tweetId;
	private String parentTweetId;
	private String type;
	private String favorite;
	private String createdDate;
	private String imgURL;
	private Tweet retweet;
	public Tweet(){
		
	}
	public Tweet(User user, String content){
		this.user= user;
		this.content = content;
	}
	
	public Tweet getRetweet() {
		return retweet;
	}
	public void setRetweet(Tweet retweet) {
		this.retweet = retweet;
	}
	public String getParentTweetId() {
		return parentTweetId;
	}
	public void setParentTweetId(String parentTweetId) {
		this.parentTweetId = parentTweetId;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getFavorite() {
		return favorite;
	}
	public void setFavorite(String favorite) {
		this.favorite = favorite;
	}
	public String getCreatedDate() {
		return createdDate;
	}
	public void setCreatedDate(String createdDate) {
		this.createdDate = createdDate;
	}
	public String getImgURL() {
		return imgURL;
	}
	public void setImgURL(String imgURL) {
		this.imgURL = imgURL;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	//private ImageView userAvata;
	//private
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getPlaceId() {
		return placeId;
	}
	public void setPlaceId(String placeId) {
		this.placeId = placeId;
	}
	public long getLatitude() {
		return latitude;
	}
	public void setLatitude(long latitude) {
		this.latitude = latitude;
	}
	public long getLongitude() {
		return longitude;
	}
	public void setLongitude(long longitude) {
		this.longitude = longitude;
	}
	public String getURI() {
		return URI;
	}
	public void setURI(String uRI) {
		URI = uRI;
	}
	public String getTweetId() {
		return tweetId;
	}
	public void setTweetId(String tweetId) {
		this.tweetId = tweetId;
	}
	public String getReTweetId() {
		return parentTweetId;
	}
	public void setReTweetId(String reTweetId) {
		this.parentTweetId = reTweetId;
	}
}
